<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>玉灵 QQ:7031633 Email:webrx@126.com</title>
    <meta name="keywords" content="关键字">
    <meta name="description" content="简介">
</head>

<body>
<form action="/post" method="post">
    <!-- text password radio checkbox file submit reset button hidden -->
    <input type="color" name="color" required>
    出生日期: <label><input type="range" id="num" min="0" max="100" value="50" name="birth"></label>
    <input type="hidden" name="id" value="1000">
    <input type="submit" value="老师提交" name="teacher">
    <input type="submit" value="学生提交" name="student">
</form>
<script>
    function $(id) {
        return document.getElementById(id);
    }

    $('num').onchange = function () {
        document.title = this.value;
    }
</script>


</body>
</html>
